<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
	//将1-10之间2的倍数输出到控制台
	for(var i=1; i<=10; i++){
		if(i%2==0){
			console.log(i);
			break;
		}
	}
	</script>
</head>
<body>
	
</body>
</html>